package com.dhecp.project.flowable.domain;

import com.dhecp.common.annotation.Excel;
import com.dhecp.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * @ClassName ProcessDefinition
 * @Description 流程定义实体
 * @Author alula
 * @Date 2019-11-26 11:40
 */
public class ActProcessDefinition extends BaseEntity {

    private static final long serialVersionUID = 1L;
    private String id;
    @Excel(name = "流程名称")
    private String name;   //流程名称
    @Excel(name = "流程KEY")
    private String key;    //流程KEY
    @Excel(name = "流程版本")
    private int version;   //流程版本
    @Excel(name = "所属分类")
    private String category;  //所属分类
    @Excel(name = "流程描述")
    private String description;  //流程描述
    private String deploymentId;  //部署ID
    private String resourceName;  //流程XML名称
    private String diagramResourceName;//流程图名称
    private Integer status = 1;

    @Excel(name = "部署时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date deploymentTime;  //部署时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDeploymentId() {
        return deploymentId;
    }

    public void setDeploymentId(String deploymentId) {
        this.deploymentId = deploymentId;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getDiagramResourceName() {
        return diagramResourceName;
    }

    public void setDiagramResourceName(String diagramResourceName) {
        this.diagramResourceName = diagramResourceName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getDeploymentTime() {
        return deploymentTime;
    }

    public void setDeploymentTime(Date deploymentTime) {
        this.deploymentTime = deploymentTime;
    }
}
